package com.qf.cqut.mapper;

import com.qf.cqut.model.pojo.AUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 忽失的温热
* @description 针对表【a_user】的数据库操作Mapper
* @createDate 2024-01-07 20:14:57
* @Entity com.qf.cqut.model.pojo.AUser
*/
public interface AUserMapper {

    int deleteByPrimaryKey(Long id);

    int insert(AUser record);

    int insertSelective(AUser record);

    AUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AUser record);

    int updateByPrimaryKey(AUser record);

    List<AUser> selectByLimit(@Param("page") Integer page, @Param("limit") Integer limit);

    Integer count();

    AUser selectByUsername(String username);

    Integer deleteByIds(@Param("ids") String[] ids);

    List<AUser> queryByConditions(AUser aUser);

    Integer addAuser(AUser aUser);

    Integer editAuser(AUser aUser);


    List<AUser> queryByConditions1(AUser aUser);

    Integer editAuser1(AUser aUser);
}
